package com.bruce.codeFactory.practice;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author luotuan
 * @Description
 * @create 2019-03-14 23:18
 **/
public class Test {
    public static void main(String[] args) {
       String ss = "2019-04-29 15:10:25.0";
       String result = ss.replaceAll("\\.(.*)","");
        System.out.println(result);
    }
}
